package com.ruoyi.detail.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.detail.mapper.OrderGoodsMapper;
import com.ruoyi.detail.domain.OrderGoods;
import com.ruoyi.detail.service.IOrderGoodsService;

/**
 * 订单商品Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
@Service
public class OrderGoodsServiceImpl implements IOrderGoodsService 
{
    @Autowired
    private OrderGoodsMapper orderGoodsMapper;

    /**
     * 查询订单商品
     * 
     * @param id 订单商品主键
     * @return 订单商品
     */
    @Override
    public OrderGoods selectOrderGoodsById(Long id)
    {
        return orderGoodsMapper.selectOrderGoodsById(id);
    }
}
